package com.eonmind.knowledge.service;

import com.eonmind.knowledge.dto.KnowledgeUploadFileDto;

/**
*@Author: AKang
*@Description: 
*@CreateTime: 2025-05-28
*/
public interface KnowledgeUploadFileService {
    /**
     * 保存上传文件记录
     * @param knowledgeFile
     */
    void saveKnowledgeUploadFile(KnowledgeUploadFileDto.KnowledgeFile knowledgeFile);
    /**
     * 删除知识库时级联删除该知识库的上传文件记录
     * @param knowledgeId
     */
    void deleteKnowledgeUploadFile(Long knowledgeId);
    /**
     * 更新上传文件后获取的信息
     * @param knowledgeFile
     */
    void updateKnowledgeUploadFile(KnowledgeUploadFileDto.KnowledgeFile knowledgeFile);
}
